<tagLib name="html" />
{$header}<div id="main" class="main" >
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor.js"></script>
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
 KE.show({
        id : 'profile'
   });
//-->
</script>
<div class="content">
	<h3 class="heading">新增会员 [  <a href="__URL__">返回列表</a> ]</h3>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/insert/">
<table>
    <!--
<tr>
	<td class="tRight" >用户名：</td>
	<td class="tLeft" ><input type="text" class="huge bLeftRequire"  check='Require' warning="用户名不能为空" id="account" name="account" value="{$vo.account}"><input type="button" value="检测帐号" onclick="checkName()" class="submit hMargin">(使用email或手机作为帐号)</td>
</tr>
<tr>
	<td class="tRight" >密码：</td>
	<td class="tLeft" ><input type="text"  name="password" value=""></td>
</tr>
    -->
 <tr>
	<td class="tRight" >客户名称：</td>
	<td class="tLeft" ><input type="text"  name="name" value=""></td>
</tr>
<tr>
	<td class="tRight" >联系人：</td>
	<td class="tLeft" ><input type="text"  name="man" value="">
            <select name="sex">
                <option value="0">------</option><option value="1">男</option><option value="2">女</option>
            </select>
        </td>
</tr>

<tr>
	<td class="tRight" >地址：</td>
	<td class="tLeft" ><input type="text"  name="address" value=""></td>
</tr>
<tr>
	<td class="tRight" >Email：</td>
	<td class="tLeft" ><input type="text"  name="email" value=""></td>
</tr>

<tr>
	<td class="tRight" >手机：</td>
	<td class="tLeft" ><input type="text"  name="mobile" value=""></td>
</tr>
<tr>
	<td class="tRight" >电话：</td>
	<td class="tLeft" ><input type="text"  name="telephone" value=""></td>
</tr>
<tr>
	<td class="tRight" >QQ：</td>
	<td class="tLeft" ><input type="text"  name="qq" value=""></td>
</tr>
<tr>
	<td class="tRight" >银行名称：</td>
	<td class="tLeft" ><input type="text"  name="bank" value=""></td>
</tr>
<tr>
	<td class="tRight" >银行账号：</td>
	<td class="tLeft" ><input type="text"  name="bank_card" value=""></td>
</tr>

<tr>
	<td class="tRight" >客户级别：</td>
	<td class="tLeft" >
            <select name="type">
                <volist name="type" id="tp">
                <option value="{$key}">{$tp}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >排序：</td>
	<td class="tLeft" ><input type="text" name="sort" value=""></td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td class="tRight tTop">备注说明：</td>
	<td class="tLeft"><textarea class="large bLeft"  name="remark" style="width:650px;height:100px;"></textarea></td>
</tr>
<tr>
	<td></td>
	<td class="center">
            <input type="hidden" name="user_id" value="{$_SESSION.authId}" >
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i>新增</button>
	<input type="reset" class="btn btn-primary" onclick="javascript:history.back()" value="返 回" >
	</td>
</tr>
</table>
</form>
</div>
</div>
